package com.defangit.production.bll;

import com.defangit.production.domain.CheckStatus;
import com.defangit.production.domain.ManufactureEntry;
import laogen.util.entities.Finder;

public interface ManufactureEntryBll extends CommonBusinessLogic<ManufactureEntry>{
    ManufactureEntry addManufactureEntry(ManufactureEntry manufacture);
    ManufactureEntry addEntry(ManufactureEntry manufactureEntry, Integer operatorId);
    ManufactureEntry checkEntry(Integer entryId,Integer operatorId,CheckStatus checkStatus,double quantity,String reason);
    ManufactureEntry intoStore(Integer entryId,Integer operatorId,Integer storeId);
    ManufactureEntry updateManufactureEntry(ManufactureEntry manufacture,Integer operatorId);
    ManufactureEntry fixProcess(Integer entryId,Integer processId,Integer operatorId);
    ManufactureEntryFinder findAll();
    interface ManufactureEntryFinder extends Finder<ManufactureEntry> {
        ManufactureEntryFinder entryNo(String no);
        ManufactureEntryFinder entryStaus(CheckStatus checkStatus);
        ManufactureEntryFinder entryProcess(Integer processId);
        ManufactureEntryFinder storeNull(Boolean isNull);
        ManufactureEntryFinder producerId(Integer operatorId);
        ManufactureEntryFinder storeId(Integer storeId);
        ManufactureEntryFinder receiverId(Integer receiveId);
        ManufactureEntryFinder inspectorsId(Integer inspectorId);
    }
}
